BuffEffect14 = BaseBuffEffect:new();
BuffEffect14.__index = BuffEffect14;

function BuffEffect14:new()
    local object = {};
    setmetatable(object, BuffEffect14);
    return object;
end

function BuffEffect14:reset(fight,buff,...)
    BaseBuffEffect:reset(fight,buff);
    local buffValue = decodeJsonStrToTabel(buff.buffBean.f_Value);

    if buff.overlay >= buffValue[1] then
        fightLog("[EFFECT]Fighter "..buff.target.fighterId.." Buff"..buff.modelId.." 触发另外BUFF效果");
        BuffManager.removeFighterBuff(fight,buff.target,buff,buff.addParameter);
        BuffManager.addBuff(fight,buff.source,buff.target,false,buffValue[2],buffValue[3],buff.addParameter);
    end
    return EnumConst.IBuffEffect.REMOVE;
end